# $Id: PKGBUILD 65986 2012-02-22 14:12:36Z spupykin $
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
# Maintainer: Charles Mauch <cmauch@gmail.com>

pkgname=perl-x11-protocol
pkgver=0.56
pkgrel=5
pkgdesc="Perl/CPAN Module X11::Protocol : Raw interface to X Window System servers"
arch=("any")
url="http://search.cpan.org/dist/X11-Protocol"
license=("GPL" "PerlArtistic")
depends=("perl")
source=("http://www.cpan.org/authors/id/S/SM/SMCCAM/X11-Protocol-$pkgver.tar.gz")
md5sums=('2260bad68d373b201b17c60d761e0f0a')

build() {
  cd $srcdir/X11-Protocol-$pkgver
  PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
  make
  make install DESTDIR=$pkgdir
  find $pkgdir -name '.packlist' -delete
  find $pkgdir -name '*.pod' -delete
}
